<div class="input-group mb-3 custom-control-inline">
    <div class="input-group-prepend">
        <span class="input-group-text">{{ @$label ?: ts('PRODUCTTYPE') }}</span>
    </div>
    <select name="product_type_id" class="form-control" style="width: 150px" data-value="{{ request()->input('product_type_id') }}">
        <option value="">{{ ts('select') }}</option>
        @foreach(\App\Models\ProductTypes::orderBy('id')->get('id') as $v)
            <option value="{{ $v->id }}" {{ request()->input('product_type_id')==$v->id ? 'selected' : '' }}>{{ ts('product_types.'.$v->id) }}</option>
        @endforeach
    </select>
</div>